<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			body{
				height: 1000px;
			}
			div:nth-of-type(1){
				width: 100px;
				height: 100px;
				background: #FF0000;
				position: absolute;
				right: 0;
				bottom: 0;
			}
			div:nth-of-type(2){
				width: 50px;
				height: 50px;
				background: #0000FF;
				position: fixed;
				right: 0px;
				bottom: 0;
			}
		</style>
	</head>
	<body>
		<div>第一个</div>
		<div>第二个</div>
	</body>
</html>
